<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>OpenShoe: system_states.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenShoe
   &#160;<span id="projectnumber">0.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Defines</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">system_states.h File Reference</div>  </div>
</div>
<div class="contents">

<p>Declarations of system states and related information tables.  
<a href="#details">More...</a></p>

<p><a href="system__states_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structstate__t__info.html">state_t_info</a></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#gaeadb9947c80d097da4413c55179afe6f">SID_LIMIT</a>&#160;&#160;&#160;0xFF</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#gaafd3e23709eecfd5bfdc358f8a07b991">POSITION_SID</a>&#160;&#160;&#160;0x01</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#ga6b3256a3e116aaefe13352f9b493c279">VELOCITY_SID</a>&#160;&#160;&#160;0x02</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#gae1fc29b0358f36a68b7ba9bde85e16fd">QUATERNION_SID</a>&#160;&#160;&#160;0x03</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#gae04e393e8b250dad55fddb546ef61111">SPECIFIC_FORCE_SID</a>&#160;&#160;&#160;0x11</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#ga4bae6e7de487043575d61cb52dff4cf3">ANGULAR_RATE_SID</a>&#160;&#160;&#160;0x12</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#ga1e61a3b04f0d9e2a1393e85a047a24ab">WINDOW_SIZE_PID</a>&#160;&#160;&#160;0x03</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#gadc587c273985fd12fc0553141c5f9693">TIME_SINCE_LAST_ZUPT_SID</a>&#160;&#160;&#160;0x04</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#gacc410e7c7f1185c5dd50ac503dccabbe">PROCESS_CYCLE_COUNTER_SID</a>&#160;&#160;&#160;0x05</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#ga1c2e91b10f17814f52bf09f647909d83">ZUPT_SID</a>&#160;&#160;&#160;0x32</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#gad5186a188194306bbc87ddddc7644ddd">IMU_TEMPERATURS_SID</a>&#160;&#160;&#160;0x33</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#gad0a37f572243f76ea1f2b79fc14b2a30">IMU_SUPPLY_VOLTAGE_SID</a>&#160;&#160;&#160;0x34</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#gaf0c693bf22229a5eba03b2bad37b07bf">ACCELEROMETER_BIASES_SID</a>&#160;&#160;&#160;0x35</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nav__types_8h.html#a90c683614d896321009d3b3c401b764f">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#ga2807b9fb4b79e01dfde022b613d2575f">position</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Position estimate (North,East,Down) [ <img class="formulaInl" alt="$m$" src="form_20.png"/>].  <a href="group__tables.html#ga2807b9fb4b79e01dfde022b613d2575f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nav__types_8h.html#a90c683614d896321009d3b3c401b764f">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#ga589efe00d8bd4e8a69613f98390a04c7">velocity</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Velocity estimate (North,East,Down) [ <img class="formulaInl" alt="$m/s$" src="form_24.png"/>].  <a href="group__tables.html#ga589efe00d8bd4e8a69613f98390a04c7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nav__types_8h.html#a90c683614d896321009d3b3c401b764f">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#gaf92cab44915b7d9faaf5aeadb328bae6">accelerations_in</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><img class="formulaInl" alt="$[m/s^2]$" src="form_13.png"/>  <a href="group__tables.html#gaf92cab44915b7d9faaf5aeadb328bae6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nav__types_8h.html#a90c683614d896321009d3b3c401b764f">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#ga8cac4b2812dcb492989d7122c5eb0bfb">angular_rates_in</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><img class="formulaInl" alt="$[rad/s]$" src="form_14.png"/>  <a href="group__tables.html#ga8cac4b2812dcb492989d7122c5eb0bfb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#ga1c7df51cd44a9862d56e5a86a7382fe2">window_size</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#ga20193da701b182264e8b7bf63293c0f9">time_since_last_zupt</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#ga69242006691a47df6ea85e8cc45ccc43">process_cycle_counter</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nav__types_8h.html#ad9a64f455fa02affaba6740746aae7b2">quat_vec</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#ga059b83d370e7e6a5e9728a8f91943051">quaternions</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Attitude (quaternions) estimate.  <a href="group__tables.html#ga059b83d370e7e6a5e9728a8f91943051"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#gabd51dc1d49060099533807a22acc61d4">zupt</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag that is set to true if a zero-velocity update should be done.  <a href="group__tables.html#gabd51dc1d49060099533807a22acc61d4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nav__types_8h.html#a90c683614d896321009d3b3c401b764f">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#gacd438fa96131e9024d8ad206d83ffb66">imu_temperaturs</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><img class="formulaInl" alt="$[^circ C]$" src="form_15.png"/>  <a href="group__tables.html#gacd438fa96131e9024d8ad206d83ffb66"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nav__types_8h.html#a37e1884b1f06826c49607cec459b4e8a">precision</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#ga3f561003deb253bcc716a6c690c87cfe">imu_supply_voltage</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><img class="formulaInl" alt="$[V]$" src="form_16.png"/>  <a href="group__tables.html#ga3f561003deb253bcc716a6c690c87cfe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nav__types_8h.html#a90c683614d896321009d3b3c401b764f">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tables.html#ga1089eea940f41eff26a6cba1172089e9">accelerometer_biases</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Accelerometer biases (x,y,z-axis) [ <img class="formulaInl" alt="$m/s^2$" src="form_17.png"/>].  <a href="group__tables.html#ga1089eea940f41eff26a6cba1172089e9"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Declarations of system states and related information tables. </p>
<p>This header file contains 1) Declarations of system states. 2) Definitions of tables containing information about the system states. The system states can be defined across the program. This file just gather the declarations together such that the related information tables can be filled in. The information tables are used for output functions in external_interfaces.c. This file contians multiple static variables so it should only be included where necessary.</p>
<dl class="author"><dt><b>Authors:</b></dt><dd>John-Olof Nilsson, Isaac Skog </dd></dl>
<dl class="copyright"><dt><b>Copyright:</b></dt><dd>Copyright (c) 2011 OpenShoe, ISC License (open source) </dd></dl>
</div></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Dec 1 2011 15:06:33 for OpenShoe by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
